
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <%@ include file="/include/tagLib.jsp" %> 
 
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" 
       xmlns:html="http://struts.apache.org/tags-html">

 <head>
    <%@ include file="/include/titulo.jsp" %>  
  
	<style>
	.mensajeError{
			color:            #ff0000;
			background-color: #ffEEEE;
			border:           3px solid #ff0000;
			padding:          5px;
			margin:           16px;
			width:            40%;
			text-align:       center;   
			font-size:        10pt;
	}
	</style>
	
 </head>

 <body onload='document.f.j_username.focus();' bgcolor="black" >

    <br/>
    <br/>
                                 
    <center>
		<c:if test="${not empty errorParam}" >
			<div class="mensajeError" >			
				 ${mensajeError_01}
				 <br/>
		         ${mensajeError_02}
		         <br/>
				 <strong>[${sessionScope["SPRING_SECURITY_LAST_EXCEPTION"].message}]</strong>  
				 <br/>
				 <font color=blue face='Arial' > ${mensajeError_03} </font>
			</div>
		</c:if>
    </center>
    
	<form name='frm' action="<%=request.getContextPath()%>/j_spring_security_check" method='post' >

		<table align="center" bgcolor="gray" width="30%" style="border:3px solid white;" cellpadding="0" cellspacing="0" >
				
			<tr bgcolor="red" align="center" >
				<td colspan='2'> <h2> <font color='white' face="Arial" > <fmt:message key="msg.frm.titulo.login" /> </font> </h2> </td>
			</tr>
 						
			<tr>
				<td colspan='2'> <br/> </td>
			</tr>
			
			<tr>
				<td colspan='2'> <br/> </td>
			</tr>
			
			<tr>
				<td align="right" > <font color='black' face='Arial' size='2' > <fmt:message key="msg.frm.usuario" />: </font> </td>
				<td> <input type='text' name='j_username' value='' /> </td>
			</tr>
			
			<tr>
				<td align="right" > <font color='black' face='Arial' size='2' > <fmt:message key="msg.frm.password" />: </font> </td>
				<td> <input type='password' name='j_password' " /> </td>
			</tr>
	 
			<tr>
				<td colspan='2'> <br/> </td>
			</tr>
			
			<tr>
				<td colspan='2'> <br/> </td>
			</tr>
			
			<tr align="center" >
				<td colspan='2' >
				    <input name='PROCESAR' type='submit' value='<fmt:message key="msg.frm.boton.procesar" />' />			            
				    <input name='LIMPIAR'  type='reset'  value='<fmt:message key="msg.frm.boton.limpiar"  />' />
				</td>
			</tr>
			
			<tr>
				<td colspan='2'> <br/> </td>
			</tr>
			
			<tr>
				<td colspan='2'> <br/> </td>
			</tr>
			
		</table>

	</form>
	
  </body>
  
</html>

